/**
 * 
 */
package ve.com.neometrica.inventario.impl.service;

import java.util.List;

import ve.com.neometrica.inventario.api.dao.InventarioDao;
import ve.com.neometrica.inventario.api.model.Inventario;
import ve.com.neometrica.inventario.api.service.InventarioService;

/**
 * @author a.cabrera
 *
 */
public class InventarioServiceImpl implements InventarioService {

	InventarioDao inventarioDao;
	/* (non-Javadoc)
	 * @see ve.com.neometrica.inventario.api.service.InventarioService#save(ve.com.neometrica.inventario.api.model.Inventario)
	 */
	@Override
	public void save(Inventario inventario) {
		this.inventarioDao.save(inventario);
	}

	/* (non-Javadoc)
	 * @see ve.com.neometrica.inventario.api.service.InventarioService#getAll()
	 */
	@Override
	public List<Inventario> getAll() {
		return this.inventarioDao.getAll();
	}

	/* (non-Javadoc)
	 * @see ve.com.neometrica.inventario.api.service.InventarioService#getById(java.lang.Integer)
	 */
	@Override
	public Inventario getById(Integer id) {
		return this.inventarioDao.getById(id);
	}

	@Override
	public List<Inventario> getInventariosConsulta() {
		return this.inventarioDao.getInventariosConsulta();
	}
	public InventarioDao getInventarioDao() {
		return inventarioDao;
	}

	public void setInventarioDao(InventarioDao inventarioDao) {
		this.inventarioDao = inventarioDao;
	}

}
